home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Utilities
/
modal-dialog-sample ƒ
/
common.h
< prev
next >
Encoding:
Amiga (detected)
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-10-26
|
285 b
|
14 lines
|
[
TEXT/KAHL
]
/*
** Project dialog example
** Module common.h
** Author Bernie Wieser ©1991
** Date 10/26/91
**
** Purpose
** Common defines.
**
*/
#define NIL ((void *)0)
#define isletter(c) (((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z')))
#define isnumber(c) ((c >= '0') && (c <= '9'))